package com.byzx.wine.action;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIConversion.User;

@Controller
public class IndexAction {
	/**
	 * 登陆
	 * @return
	 */
	@RequiresPermissions("admin111:manage")
	@RequestMapping(value="/main")
	public String  login(HttpServletResponse response, HttpServletRequest request,User user){
		return "common/main";
	}
	@RequiresPermissions("admin111:manage")
	@RequestMapping(value="/index")
	public String  main(HttpServletResponse response, HttpServletRequest request,User user){
		return "common/index";
	
}}